<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>{$page_title}</title>
       <script type="text/javascript" language="javascript" src="{lib file=jquery-1.6.3.min.js}"></script>
       <script language="javascript" type="text/javascript" src="{lib file=jquery.ui/jquery.ui.js}"></script>

        <script language="javascript" type="text/javascript" src="{lib file=jquery.plugins/jquery.validate.js}"></script>
        <script language="javascript" type="text/javascript" src="{res file=js/common.js}"></script>
        <script language="javascript" type="text/javascript" src="{res file=DatePicker/WdatePicker.js}"></script>
        <script language="javascript" type="text/javascript" src="{lib file=ajaxfileupload.js}"></script>
        <script language="javascript" type="text/javascript" src="{res file=js/jquery.funkyUI.js}"></script>
        <script language="JavaScript" type="text/javascript" src="{res file=js/lan.js}"></script>
        <link href="template/style/css/style.css" type="text/css" rel="stylesheet" />
        <script language="javascript" type="text/javascript" src="{res file=js/select.js}"></script>

       <style type="text/css">
.btn-2{margin-bottom:5px;}
.table_no_border,.table_no_border td,.table_no_border th{
	padding:0;
	margin:0;
	border-bottom:none;
	border-top:none;
	}
.fabric_info_list td input,.fabric_info_list td select{width:93%;}
.fabric_info_table td{
	border-left:none;
	border-bottom:none;
	padding:2px;
	}
.fabric_info_table th
{
   border-top:none;
}
.no_left_border
{
	border-left:none;
}
.no_right_border
{
	border-right:none;
}
.fabric_info_table .btn-2{
	line-height:20px;
	height:20px;
	margin-bottom:1px;}
</style>
    </head>
<body>
<div class="sub-body">
	<h3 class="title-1 tab-frame">制单信息</h3>
    <div class="tab-frame" style="width:900px;">
		<table align="left" cellpadding="0" cellspacing="0" class="tab-add" id="tab-color1">
        	<tr>
            	<th width="100">下单日期：</th>
            	<td colspan="2" width="360">{$order.order_create_date|date}&nbsp;&nbsp;订单状态：{$lang.order_status.$order.status}&nbsp;&nbsp;&nbsp;&nbsp;制单状态：{$lang.ss_status.$ss_info.ss_status}</td>
            	<th colspan="2" width="300">正面</th>
            	<th colspan="2" width="300">反面</th>
            </tr>
        	<tr>
            	<th>品&nbsp;&nbsp;&nbsp;&nbsp;牌：</th>
            	<td colspan="2">{$order.brand_name}</td>
            	<td colspan="2" rowspan="10" style="text-align:center;"><img id="front_image" width="220" height="264" src="{$order.front_pic}" alt=""></td>
            	<td colspan="2" rowspan="10" style="text-align:center;"><img id="back_image" width="220" height="264" src="{$order.back_pic}" alt=""></td>
            </tr>
        	<tr>
            	<th>跟&nbsp;&nbsp;&nbsp;&nbsp;单：</th>
            	<td colspan="2">{$order.merchandiser}</td>
            </tr>
        	<tr>
            	<th>订&nbsp;单&nbsp;号：</th>
            	<td colspan="2">{$order.order_sn|escape}</td>
            </tr>
        	<tr>
            	<th>款&nbsp;&nbsp;&nbsp;&nbsp;号：</th>
            	<td colspan="2">{$order.style_sn|escape}</td>
            </tr>
        	<tr>
            	<th>参考板号：</th>
            	<td colspan="2">{$order.sample_sn}</td>
            </tr>
        	<tr>
            	<th>到板日期：</th>
            	<td colspan="2">{$order.arrival_date|date}</td>
            </tr>
        	<tr>
            	<th>款&nbsp;&nbsp;&nbsp;&nbsp;式：</th>
            	<td colspan="2">{$order.style_name}</td>
            </tr>
        	<tr>
            	<th>工&nbsp;&nbsp;&nbsp;&nbsp;厂：</th>
            	<td colspan="2">{$order.factory_name}</td>
            </tr>
        	<tr>
            	<th>运&nbsp;&nbsp;&nbsp;&nbsp;输：</th>
            	<td colspan="2">{if $order.trans_type == 1}空运{else}海运{/if}</td>
            </tr>
        	<tr>
            	<th>件&nbsp;&nbsp;&nbsp;&nbsp;数：</th>
            	<td colspan="2">{$order.quantity}</td>
            	
            </tr>
        	<tr>
            	<th>工厂价格：</th>
            	<td colspan="2">{$order.factory_price}</td>
           	<td colspan="4"></td>
            </tr>
            
           
        	<tr>
            	<th>工厂入仓日期：</th>
            	<td colspan="2">{$order.release_date|date}</td>
            	
            	<td colspan="4"></td>
            </tr>
        
            <tr>
            	<th>PGR：</th>
            	<td colspan="2">{$ss_info.PGR}</td>
            	<td colspan="4"></td>
            </tr>
            <tr>
            	<th>SGR：</th>
            	<td colspan="2">{$ss_info.SGR}</td>
            	<td colspan="4"></td>
            </tr>
            <tr>
            	<th>ITEM GROUP：</th>
            	<td colspan="2">{$ss_info.ITEM_GROUP}</td>
            	<td colspan="4"></td>
            </tr>
            <tr>
            	<th>SEASON：</th>
            	<td colspan="2">{$ss_info.SEASON}</td>
            	<td colspan="4"></td>
            </tr>
            		<tr>
				<td colspan="7">&nbsp;</td>
			</tr>
			<tr colspan="9"><th colspan="7">颜色/数量</th></tr>
			<tr>
				<td colspan="9" class="tab-align-l">
					<table align="left" cellpadding="0" cellspacing="0" class="tab-add" id="tab-color1">
		           <th width="">颜色</th>
			       <th width="15%">包装配比</th>
			       <th width="7%">6</th>
			       <th width="7%">8</th>
			       <th width="7%">10</th>
			       <th width="7%">12</th>
			       <th width="7%">14</th>
			       <th width="7%">16</th>
			       <th width="7%">合计</th>
			      <!--{foreach from=$cq_info item=c name=n}-->
			       <tr>
			       <td>{$c.color}</td>
			       <td>{$c.proportion}</td>
			       <td>{$c.v6}</td>
			       <td>{$c.v8}</td>
			       <td>{$c.v10}</td>
			       <td>{$c.v12}</td>
			       <td>{$c.v14}</td>
			       <td>{$c.v16}</td>
			       <td>{$c.total}</td>
			       </tr>
			      <!--{/foreach}-->
		            </table>
	            </td>
            </tr>
            <tr>
				<td colspan="7">&nbsp;</td>
			</tr>
            <tr>
        <th colspan="1" align="left" style="padding:5px; font-size:14px;">面料信息：<br><a target="_blank" href="{url app=colorcard&act=index}">(色卡库管理)</a></th>
       <td colspan="9" class="tab-align-l">
       <table width="100%">
       <th width="20%">面料描述</th>
       <th width="30%">布行/档口</th>
       <th width="10%">品名/货号</th>
       <th width="10%">价格</th>
       <th width="10%">幅宽</th>
       <th width="10%">色卡</th>
      <!--{foreach from=$fabric_info_list item=fabric_info name=fi}-->
       <tr class="fabric_info_list">
       <td class="tab-align-l">{$fabric_info.description|escape}</td>
       <td class="tab-align-l">{$fabric_info.fabric_shop_name}</td>    
       <td class="tab-align-l">{$fabric_info.item}</td>
       <td class="tab-align-l">{$fabric_info.price}</td>   
       <td class="tab-align-l">{$fabric_info.width}</td>
       <td class="tab-align-l">
       <img width="30" height="30" item="picture_show" src="./data/files/colorcard/small{$fabric_info.picture}" /></td>
       </tr>
       <!--{/foreach}-->
       </table>
       
       </td>
      </tr>
	
			<tr>
				<td colspan="7">&nbsp;</td>
			</tr>
			<tr>
				<th colspan="7">批办意见</th>
			</tr>
			<tr>
				<td colspan="7">
				{$ss_info.opinion|nl2br}
				</td>
			</tr>
			<tr>
				<td colspan="7">&nbsp;</td>
			</tr>
			<tr>
				<th colspan="7">尺寸表</th>
			</tr>
        <tr>
				<td colspan="9" class="tab-align-l">
					<table align="left" cellpadding="0" cellspacing="0" class="tab-add" id="tab-color1">
		           <th width="">部位尺寸</th>
			       <th width="10%">6</th>
			       <th width="10%">8</th>
			       <th width="10%">10</th>
			       <th width="10%">12</th>
			       <th width="10%">14</th>
			       <th width="10%">16</th>
			       <th width="10%">跳码 CM/码</th>
			       <!--{foreach from=$size_ss_info item=s name=n}-->
			       <tr>
			       <td>{$s.position}</td>
			       <td>{$s.w6}</td>
			       <td>{$s.w8}</td>
			       <td>{$s.w10}</td>
			       <td>{$s.w12}</td>
			       <td>{$s.w14}</td>
			       <td>{$s.w16}</td>
			       <td>{$s.code}</td>
			       </tr>
			       <!-- {/foreach} -->
		            </table>
	            </td>
            </tr>
            
		</table>
	</div>
</div>
<script language="JavaScript" type="text/javascript" src="{res file=js/tab_color.js}"></script>
<script type="text/javascript">
$(function(){
	
	window.print() ;
	})
</script>
</body>
</html>